<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<h:body>

	<p:panel header="Dados Pessoa Fisica">
		<h:panelGrid columns="1" columnClasses="label, value"
			styleClass="grid">

			<h:outputText value="Nome Completo:*" />
			<h:panelGrid columns="2">
				<p:inputText id="nome" required="true" label="Falta preencher"
					value="#{fisicaAction.fisica.nomePessoa}" size="40" />
				<p:message for="nome" display="icon" /> 

			</h:panelGrid>

			<h:outputText value="Cpf: *" />
			<h:panelGrid columns="2">
				<p:inputMask mask="999.999.999-99"
					value="#{fisicaAction.fisica.cpf}" 
					id="cpf" 
					size="11" 
					required="true"
					label="Falta preencher"/>
				<p:message for="cpf" display="icon" /> 
			</h:panelGrid>
			
			
			<h:outputText value="Data de Nascimento: " />
			<p:calendar value="#{fisicaAction.fisica.dataNascimento}"
				mode="popup" navigator="true" size="08" pattern="dd.MM.yyyy">
			</p:calendar>


		</h:panelGrid>
		<h:panelGrid columns="2">
		<h:outputLabel value="Ir para o final" />
		<p:selectBooleanCheckbox value="#{fisicaAction.skip}"/>
		</h:panelGrid>
	</p:panel>

</h:body>
</html>